package cn.wolfcode.transfer.domain;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Log {
    /** */
    private Long id;

    /** */
    private Employee user;

    /** */
    private String name;

    /** */
    private String expression;

    /** */
    private String requiredParameter;

    /** */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date executionTime;

    /** */
    private String ip;

    /** */
    private String operationTime;

    /** */
    private boolean operatingResult = true;

    /** */
    private String msg;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Employee getUser() {
        return user;
    }

    public void setUser(Employee user) {
        this.user = user;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getExpression() {
        return expression;
    }

    public void setExpression(String expression) {
        this.expression = expression;
    }

    public String getRequiredParameter() {
        return requiredParameter;
    }

    public void setRequiredParameter(String requiredParameter) {
        this.requiredParameter = requiredParameter;
    }

    public Date getExecutionTime() {
        return executionTime;
    }

    public void setExecutionTime(Date executionTime) {
        this.executionTime = executionTime;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getOperationTime() {
        return operationTime;
    }

    public void setOperationTime(String operationTime) {
        this.operationTime = operationTime;
    }

    public boolean isOperatingResult() {
        return operatingResult;
    }

    public void setOperatingResult(boolean operatingResult) {
        this.operatingResult = operatingResult;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}